import request from '@/utils/request'
import Qs from 'qs'

/**
 * 获取当前租户
 */
export function queryCurrentTenant() {
  return request({
    url: '/sys/tenant/queryCurrentTenant',
    method: 'get'
  })
}

/**
 * 查询下级租户列表
 */
export function listInAuth(data) {
  return request({
    url: '/sys/tenant/listInAuth',
    method: 'get',
    params: data
  })
}

